package com.imooc.pojo.mo;

import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import javax.sql.DataSource;
import java.util.Date;

/**
 * Created with IntelliJ IDEA.
 *
 * @auther Levi
 * @Date: 2021/03/21/15:54
 * @Description:
 */
@Document("FriendLinK")
public class FriendLinKMO {
    /**
     * id
     */
    @Id
    private String id;
    /**
     * 友情链接
     */
    @Field("link_url")
    private String linkUrl;
    /**
     *友情链接内容
     */
    @Field("link_name")
    private String linkName;
    /**
     *是否删除
     */
    @Field("is_delete")
    private Integer isDelete;
    /**
     * 创建时间
     */
    @Field("create_time")
    private Date createTime;
    /**
     * 修改时间
     */
    @Field("update_time")
    private Date updateTime;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getLinkUrl() {
        return linkUrl;
    }

    public void setLinkUrl(String linkUrl) {
        this.linkUrl = linkUrl;
    }

    public String getLinkName() {
        return linkName;
    }

    public void setLinkName(String linkName) {
        this.linkName = linkName;
    }

    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }

    public Date getCreateTime() { return createTime; }

    public void setCreateTime(Date createTime) { this.createTime = createTime; }

    public Date getUpdateTime() { return updateTime; }

    public void setUpdateTime(Date updateTime) { this.updateTime = updateTime; }
}
